P-CDR Field Descriptions


P-CDR Field Descriptions
 
This chapter lists and describes the fields supported by the system for use in P-GW charging data records (P-CDRs).
The following information is provided for each field:
Description: The field’s description.
Format: The field’s data format.
Length: The field’s size, in bytes.
All P-CDRs are encoded using the ASN.1 format and are sent to the charging gateway function (CGF) using the GPRS Tunneling Protocol Prime (GTPP) as defined in the following standards:
Also see the P-CDR Field Reference Tables chapter for information on CDR fields supported in P-CDRs.
note_smallImportant: The behavior for several of the fields supported in CDRs can be modified. For more information, refer to the gtpp attributes command in the Command Line Interface Reference.
CDR Fields
Access Point Name Network Identifier
The network identifier portion of the access point name (APN). This APN is sent to the S-GW by the MME and is relayed to the P-GW in the EGTP Create Session Request message.
The APN string may consist of alphabetic characters (“A...Z”, “a...z”), digits (“0...9”) and the dash “-”.
Format
IA5 string
Length
1–63 bytes
APN Selection Mode
An index indicating how the APN was selected.
The following APN selection mode indexes are possible:
Format
Enumerated
Length
1 byte
Cause for Record Closing
This field contains a reason for the closure of the CDR.
Some of the possible reasons are as follows:
Format
Integer
Length
1 byte
Charging Characteristics
Lists the charging characteristics applied to the PDP context by the P-GW.
Format
Octet string
Length
2 bytes
Charging Characteristics Selection Mode
This field specifies how the Charging Characteristics were selected.
Supported values:
Note: The values AAASupplied (6) and GWOverride (7) are only supported in the custom40 GTPP dictionary.
Format
Enumerated
Length
1 byte
Charging ID
This field contains a charging identifier, which can be used together with the P-GW address to identify all records involved in a single bearer context. The Charging ID is generated by the P-GW during bearer context activation and is transferred to the context requesting P-GW.
Format
Integer
Length
1–5 bytes
Diagnostics
This field is included in the CDR when the bearer is released and when the option gtpp attribute diagnostics is configured.
Format
Integer
Length
1–4 bytes
Duration
This field contains the duration in seconds for the record. The value is reset for each new partial CDR.
This value is converted from the internal representation in milliseconds to an integer value representing only seconds. The mechanism for this conversion (ceiling, floor, round-off) can be configured.
Format
Integer
Length
1–5 bytes
Dynamic Address Flag
This field indicates that the PDN address has been dynamically allocated for that particular IP CAN bearer (PDN connection). This field is missing if the address is static.
Format
Boolean
Length
1 byte
List of Service Data
This list includes one or more service data containers. Each container is associated with a service condition change on a service data flow (categorized per rating group or per combination of the rating group and service id) within this IP CAN bearer.
Format
Sequence
Length
Variable
Data Service Volume Block
This is a service data container. A container is associated with a service condition change on a service data flow (categorized per rating group or per combination of the rating group and service id) within this IP CAN bearer.
A service data container may include the fields in the following subsections.
Format
Sequence
Length
Variable
Charging Rulebase Name
The name of the Rulebase used for charging. This is the group name of charging rules.
Format
IA5string
Length
1–16 bytes
Data Volume FBC Downlink
The number of octets transmitted during the use of the packet data services in the downlink direction.
Format
Integer
Length
1–5 bytes
Data Volume FBC Uplink
The number of octets received during the use of the packet data services in the uplink direction.
Format
Integer
Length
1–5 bytes
Local Sequence Number (LOSD)
A service data container sequence number. It starts from 1 and is increased by 1 for each service data container generated within the lifetime of this IP-CAN bearer.
Format
Integer
Length
1–5 bytes
QoS Information Negotiated
For an IP-CAN bearer-specific container, this contains the authorized QoS for the IP-CAN bearer. The first container for each QCI/ARP pair includes this field. In following containers this field is present if the previous change condition is "QoS change".
The field contains a sequence of fields which are described in the following subsections:
Format
Sequence
Length
Variable
Allocation and Retention Priority (ARP)
The ARP contains information about the priority level (scalar), the pre-emption capability (flag) and the pre-emption vulnerability (flag). The primary purpose of ARP is to decide whether a bearer establishment or modification request can be accepted, or needs to be rejected due to resource limitations (typically available radio capacity for GBR bearers). Range: 1-15.
Format
Integer
Length
1–5 bytes
Guaranteed Bit Rate (GBR) Downlink
The GBR denotes the downlink bit rate that can be expected to be provided by a GBR bearer.
Format
Integer
Length
1–5 bytes
Guaranteed Bit Rate (GBR) Uplink
The GBR denotes the uplink bit rate that can be expected to be provided by a GBR bearer.
Format
Integer
Length
1–5 bytes
Maximum Bit Rate (MBR) Downlink
The MBR limits the downlink bit rate that can be expected to be provided by a GBR bearer (for example, excess traffic may get discarded by a rate shaping function).
Format
Integer
Length
1–5 bytes
Maximum Bit Rate (MBR) Uplink
The MBR limits the uplink bit rate that can be expected to be provided by a GBR bearer.
Format
Integer
Length
1–5 bytes
Quality Class Identifier (QCI)
A QCI is a scalar that is used as a reference to access node-specific parameters that control bearer level packet forwarding treatment (for example, scheduling weights, admission thresholds, queue management thresholds, link layer protocol configuration, etc.), and that have been pre-configured by the operator owning the access node (for example, eNodeB). Value Range: 1-9.
Format
Integer
Length
1–5 bytes
Rating Group
This is the service flow identity and must be used for differentiated evaluation of user’s traffic. This is also known as content-id.
Format
Integer
Length
1–5 bytes
Service Condition Change
The reason for closing the service data container for triggers like SGSN change, QoS change, RAT change, time and volume triggers, etc.
Bit Setting regarding TS 32.298:
Format
Bit string
Length
5 bytes
Service Identifier
The service identifier may designate an end user service, a part of an end user service, or an arbitrarily formed group thereof. This field is only included if reporting is per combination of the rating group and service id.
Format
Integer
Length
1–5 bytes
Serving Node Address (LOSD)
This field contains the serving node (for example, SGSN/S-GW) control plane IP address.
Format
Octet string
Length
6 or 18 bytes (depending on v4 or v6 address)
Time of First Usage
The timestamp for the first IP packet to be transmitted for the service data flow referred to the current instance of Service Condition Change.
Format
BCD encoded octet string
Length
9 bytes
Time of Last Usage
The timestamp for the last IP packet to be transmitted for the service data flow referred to the current instance of Service Condition Change.
Format
BCD encoded octet string
Length
9 bytes
Time of Report
A timestamp defining the moment when the service data container is closed.
Format
BCD encoded octet string
Length
9 bytes
Time Usage
The difference in seconds within the range of 0.to.4294967295 between “time of first usage” and “time of last usage”.
Format
Integer
Length
1–5 bytes
User Location Information (LOSDV)
This field indicates details of where the UE is currently located (SAI, TAI, RAI, CGI, ECGI or access-specific user location information).
Format
Octet string
Length
6–13 bytes
Local Sequence Number
This field contains a unique sequence number associated with the NodeId field and independent of the bearer context.
Format
Integer.
Length
1–5 bytes
MS Time Zone
The “Time Zone” IE that the SGSN may provide to the P-GW during the PDP context activation/modification procedure.
Format
Octet string
Length
2 bytes.
Node ID
This field contains an identifier string for the node that had generated the CDR.
On the Cisco P-GW, this NodeID field is a printable string in the format ndddSTRING:
If this node-id-suffix is not configured, the PGW uses the active-charging service name as the Node-id-suffix (truncated to 16 characters).
This field is only included when the option gtpp attribute local-record-sequence-number is configured.
Format
IA5string
Length
1–20 bytes.
PDN Connection Id
This field defines the PDN connection (IP-CAN session) identifier to identify different records belonging to same PDN connection. This field includes the Charging Id of the first IP-CAN bearer activated within the PDN connection. Together with P-GW address, this uniquely identifies the PDN connection.
Format
Integer
Length
1–5 bytes
PDP PDN Type
-- OCTET 1: PDP Type Organization
    Spare ‘1111’        PDP Type Organization Value
Note: In LTE, only IETF is supported.
-- OCTET 2: PDP/PDN Type Number
    Bits    3  2  1    0  0  1    IPv4    0  1  0    IPv6    0  1  1    IPv4/IPv6    Bits 8-4 of octet are spare and are coded as zero.
Format
Octet string
Length
2 bytes
P-GW Address
These field is the serving P-GW IP address for the Control Plane. If both an IPv4 and an IPv6 address of the P-GW is available, the P-GW shall include the IPv4 address in the CDR.
Format
Octet string
Length
6 or 18 bytes (depending on v4 or v6 address)
P-GW PLMN Identifier
This field is the P-W PMLN Identifier (Mobile Country Code and Mobile Network Code).
The MCC and MNC are coded as described for “User Location Info” in TS 29.274 [91].
Format
Octet string
Length
3 bytes
RAT Type
Holds the value of RAT Type, as provided to S-GW and P-GW.
The field is provided by the SGSN/MME and transferred to the S-GW/P-GW during the IP-CAN bearer activation/modification.
Format
Integer
Length
1 byte
Record Opening Time
This field contains the timestamp when a PDP context is activated in PGW or when a subsequent record is opened after a partial record.
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the configured mechanism (ceiling, floor, or round-off) this field is translated to only show full seconds.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTCTime format containing local time plus an offset to universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission overhead
    -- e.g. YYMMDDhhmmssShhmm
    -- where
    -- YY    =    Year 00 to 99        BCD encoded
    -- MM   =    Month 01 to 12     BCD encoded
    -- DD    =    Day 01 to 31         BCD encoded
    -- hh      =    hour 00 to 23        BCD encoded
    -- mm    =    minute 00 to 59     BCD encoded
    -- ss       =    second 00 to 59     BCD encoded
    -- S        =    Sign 0 = "+", "-"    ASCII encoded
    -- hh      =    hour 00 to 23          BCD encoded
    -- mm    =    minute 00 to 59      BCD encoded
Format
BCD encoded octet string
Length
9 bytes
Record Sequence Number
A running sequence number within the range of 1 to 4294967296 used to link partial records generated by the P-GW for a specific IP-CAN bearer context (characterized with the same Charging ID and P-GW address). This field is not present if the first record is also the final record.
Format
Integer
Length
1–5 bytes
Record Type
This field identifies the type of the record:
GW-CDR(pgwPDPRecord) 85 (0x55)
Format
Integer
Length
1 byte
Served IMEISV
This field contains the International Mobile Equipment Identity (IMEISV) of the equipment served.
The structure of the IMEI is defined in TS 23.003.
The IMEI is composed of the following elements:
If SV is not available, a filler digit “f” is added after the spare digit to fill up the last byte. Spare digit: this digit shall be zero, when transmitted by the MS.
Format
BCD encoded octet string
Length
8 bytes
Served IMSI
The International Mobile Subscriber Identity (IMSI) of the MS. The IMSI is formatted in accordance with 3GPP TS 23.003. This will be present if the Anonymous Access Indicator is FALSE or not supplied.
The IMSI is formatted in accordance with 3GPP TS 23.003.
Format
BCD encoded octet string
Length
3–8 bytes
Served MSISDN
The field tracks the Mobile Station (MS) ISDN number (MSISDN) of the subscriber which is transparently copied from the Create Session Request message.
The MSISDN is TBCD encoded as shown in the example below:3GPP TS 23.003 (CCITT Rec. E 213)
ServedMSISDN ::= OCTET STRING (SIZE(1..9))
subscriber identification MSISDN
octet 1 : bit 8 (msb): extension bit
= 1 : no extension
other : not relevant
 
bit 7..5 : type of number
= 000 : unknown
= 001 : international number
= 010 : national significant number
= 011 : network specific number
= 100 : subscriber number
= 101 : reserved
= 110 : abbreviated number
= 111 : reserved for extension
 
bit 4..1 : numbering plan indicator
= 0001: ISDN/Telephony Numbering Plan (Rec CCITT E.164)
other : not relevant
 
octet 2..9: <= 16 digits TBCD-String (twisted)
substructure (without spares or fillers):
1..3 digits - country code (CC)
(only international number)
3 digits - national destination code (NDC)
<= 10 digits - subscriber number (SN)
first and intermediate octet = 2 digits
last octet = 2 digits or 1 digit + 1 fill digit H'F
 
example:
MSISDN: '<internat #><E.164>491720400305'
encoded: H'91 94 71 02 04 30 50
Format
BCD encoded octet string.
Length
1–9 bytes.
Serving Node Address
The serving node control plane IP address of the S-GW used during this record. This is a list of IP addresses. If the list overflows with a configured number of IP addresses, a CDR with “serving node Change” as cause for record closure will be generated. The serving node addresses that are listed here are sequentially mapped to the serving node types listed in the field “Serving node Types”.
Format
Sequence of IPv4 orIPv6 addresses.
Length
6-98 or 18-292 bytes (depending on IPv4 or IPv6 address; for 1-16 S-GW/SGSN addresses)
Serving Node PLMN Identifier
This field contains a serving node (SGSN/SGW/MME/ePDG/HSGW) PLMN Identifier (Mobile Country Code and Mobile Network Code).
The MCC and MNC are coded as described for “Routing Area Identity” in TS 29.060 [75].
Format
Octet string
Length
3 bytes
Serving Node Type
These fields contain one or several serving node types in the control plane of an S-GW or P-GW, which have been connected during the record. The serving node types listed here are sequentially mapped to the serving node addresses listed in the field “Serving node Address”.
The possible values are:
ServingNodeType  ::= ENUMERATED
{
        sGSN      (0),
        pMIPSGW   (1),
        gTPSGW    (2),
        ePDG      (3),
        hSGW      (4),
        mME       (5)
}
Format
Sequence of serving Node Type
Length
3-48; variable length format (based on number of nodes connected during this period)
Served PDP PDN Address
This field contains the IP address for the PDN connection (PDP context, IP-CAN bearer). This is a network layer address of type IPv4 or IPv6. The address for each Bearer type is allocated either temporarily or permanently (see “Dynamic Address Flag”). This parameter shall be present except when both the Bearer type is PPP and dynamic address assignment is used.
Format
Octet string
Length
8 or 20 bytes (depending on v4 or v6 address)
Served MNNAI
This field contains the Mobile identifier of the served user, in Network Access Identifier (NAI) format based on IMSI, as defined in TS 23.003 [68].
SubscriptionID ::= SET
{
subscriptionIDType [0] SubscriptionIDType,
subscriptionIDData [1] UTF8String
}
SubscriptionIDType ::= ENUMERATED
{
END_USER_E164 (0),
END_USER_IMSI (1),
END_USER_SIP_URI (2),
END_USER_NAI (3),
END_USER_PRIVATE (4)
}
The type will be END_USER_NAI.
For IMSI: 123456789012345 mcc=123 mnc=045
subscriptionIDData is a string will be
0123456789012345@nai.epc.mnc045.mcc123.3gppnetwork.org
Format
Set
Length
Variable (Max 62)
Start Time
This field contains the time when the User IP-CAN session starts at the P-GW, available in the CDR for the first bearer in an IP-CAN session.
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the configured mechanism this is translated into the timestamp which only shows the full seconds.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTCTime format containing local time plus an offset to universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission overhead
    -- e.g. YYMMDDhhmmssShhmm
    -- where
    -- YY    =    Year 00 to 99        BCD encoded
    -- MM   =    Month 01 to 12     BCD encoded
    -- DD    =    Day 01 to 31         BCD encoded
    -- hh      =    hour 00 to 23        BCD encoded
    -- mm    =    minute 00 to 59     BCD encoded
    -- ss       =    second 00 to 59     BCD encoded
    -- S        =    Sign 0 = "+", "-"    ASCII encoded
    -- hh      =    hour 00 to 23          BCD encoded
    -- mm    =    minute 00 to 59      BCD encoded
Format
BCD encoded octet string
Length
9 bytes
Stop Time
This field contains the time when the User IP-CAN session is terminated at the P-GW, available in the CDR for the last bearer in an IP-CAN session.
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the configured mechanism (ceiling, floor, round-off) this is translated into the timestamp which only shows the full seconds.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTCTime format containing local time plus an offset to universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission overhead
    -- e.g. YYMMDDhhmmssShhmm
    -- where
    -- YY    =    Year 00 to 99        BCD encoded
    -- MM   =    Month 01 to 12     BCD encoded
    -- DD    =    Day 01 to 31         BCD encoded
    -- hh      =    hour 00 to 23        BCD encoded
    -- mm    =    minute 00 to 59     BCD encoded
    -- ss       =    second 00 to 59     BCD encoded
    -- S        =    Sign 0 = "+", "-"    ASCII encoded
    -- hh      =    hour 00 to 23          BCD encoded
    -- mm    =    minute 00 to 59      BCD encoded
Format
BCD encoded octet string
Length
9 bytes
User Location Information
This field contains the User Location Information as described in TS 29.274 for eGTP case (e.g. CGI, SAI, RAI TAI and ECGI).
The field is provided by the SGSN/MME and transferred to the S-GW/P-GW during the IP-CAN bearer activation/modification.
User Location Information contains the location (e.g. CGI/SAI, ECGI/TAI or RAI) where the UE is located and used during the transfer of the data volume captured by the container (applicable only to the SGW-CDR). This is included in the Traffic data container only if previous container's change condition is "user location change". Note the user location information in SGW-CDR main level contains the location where the UE was when PGW-CDR was opened.
The flags ECGI, TAI, RAI, SAI and CGI in octet 5 indicate if the corresponding fields are present in the IE or not. If one of these flags is set to "0", the corresponding field is not present at all. The respective identities are defined in 3GPP TS 23.003.
The following subclauses specify the coding of the different identities. For each identity, if an Administration decides to include only two digits in the MNC, then bits 5 to 8 of octet 7 are coded as "1111".
CGI field:
The Location Area Code (LAC) consists of 2 octets. Bit 8 of Octet 9 is the most significant bit and bit 1 of Octet 10 the least significant bit. The coding of the location area code is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
The Cell Identity (CI) consists of 2 octets. Bit 8 of Octet 11 is the most significant bit and bit 1 of Octet 12 the least significant bit. The coding of the cell identity is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
SAI field:
The Location Area Code (LAC) consists of 2 octets. Bit 8 of Octet 9 is the most significant bit and bit 1 of Octet 10 the least significant bit. The coding of the location area code is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
The Service Area Code (SAC) consists of 2 octets. Bit 8 of Octet 11 is the most significant bit and bit 1 of Octet 12 the least significant bit. The SAC is defined by the operator.
RAI field:
The Location Area Code (LAC) consists of 2 octets. Bit 8 of Octet 9 is the most significant bit and bit 1 of Octet 10 the least significant bit. The coding of the location area code is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
The Routing Area Code (RAC) consists of 2 octets. Only Octet 11 contains the RAC. Octet 12 is coded as all 1's (11111111). The RAC is defined by the operator.
TAI field:
The Tracking Area Code (TAC) consists of 2 octets. Bit 8 of Octet 9 is the most significant bit and bit 1 of Octet 10 the least significant bit. The coding of the tracking area code is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
ECGI field:
The E-UTRAN Cell Identifier (ECI) consists of 28 bits. Bit 4 of octet 10 is the most significant bit and bit 1 of Octet 11 the least significant bit. The coding of the E-UTRAN cell identifier is the responsibility of each administration. Coding using full hexadecimal representation shall be used.
Format
Octet string
Length
Varies based on the type of identity
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883